package cn.com;

public class Branch2Tag {
    public static void main(String[] args) {
        String[] branchs = {
                "dev",
                        "dev0707",
                        "dev_update_0.1.0",
                        "develop",
                        "dolphinscheduler",
                        "feature/Oracle数据库适配版本",
                        "feature/pg数据库变更mysql",
                        "feature/springboot1.5.9版本",
                        "feature/中信建投项目",
                        "feature/多数据库适配版本",
                        "feature/沧州银行版本(PG版)",
                        "feature/调度后端pg版本",
                        "feature/贵阳农商调度(mysql)",
                        "haikounongxin_test",
                        "hainanyinhangshengchanwenti20221111",
                        "master-cec",
                        "test",
                        "test_nainline",
                        "test_simple",
                        "中关村银行POC",
                        "信达分支",
                        "合并工具类和枚举值",
                        "多数据库适配版本-新功能迭代分支",
                        "海南农信",
                        "海南银行分支",
                        "海南银行新需求",
                        "海口农商定制化开发分支",
                        "简版-agent注册功能开发分支",
                        "翻牌功能分支",
                        "调度告警优化",
                        "调度开发主分支",
                        "调度简化版分支",
                        "贵阳银行接口定制化开发",
                        "高新投"
                };
        for (String branch: branchs) {
//            System.out.println("git checkout " + branch);
//            System.out.println("git pull ");
//            String tagName = "tag_20230104_"+branch;
//            System.out.println("git tag -a "+tagName+" -m \"基于["+branch+"]分支标记\"");
//            System.out.println("git push origin " + tagName);
//            System.out.println("git push origin -d " + branch);
            System.out.println("git branch -D \"" + branch+"\"");

        }
    }
}
